package com.qaml.mes.device.dao.mapper;

import com.qaml.mes.device.dao.CheckUpkeepUserDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 检保关联人员表 Mapper 接口
 * </p>
 *
 * @author leikai
 * @since 2024-02-27
 */
@Mapper

public interface CheckUpkeepUserMapper extends BaseMapper<CheckUpkeepUserDO> {

    void saveBatch(List<CheckUpkeepUserDO> checkUpkeepUserDOS);

    List<CheckUpkeepUserDO> getRecheckUserList(@Param(value = "personType") String personType, @Param(value = "tenantId") Long tenantId);

    void updateCheckUpkeepUserByIds(@Param(value = "ids") List<String> ids, @Param(value = "tenantId") Long tenantId);

    void updateHolidayTipByIds(@Param(value = "ids") List<String> ids, @Param(value = "tenantId") Long tenantId);
}
